<!DOCTYPE html>
<html lang="en-US" dir="ltr">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>安装 | 组件文档</title>
    <meta name="description" content="组件文档">
    <meta name="generator" content="VitePress v1.6.4">
    <link rel="preload stylesheet" href="/document/assets/style.Ddx2Jgvb.css" as="style">
    <link rel="preload stylesheet" href="/document/vp-icons.css" as="style">
    
    <script type="module" src="/document/assets/app.BeYn-xQn.js"></script>
    <link rel="preload" href="/document/assets/inter-roman-latin.Di8DUHzh.woff2" as="font" type="font/woff2" crossorigin="">
    <link rel="modulepreload" href="/document/assets/chunks/theme.0KkP90se.js">
    <link rel="modulepreload" href="/document/assets/chunks/framework.DrK2D9Xh.js">
    <link rel="modulepreload" href="/document/assets/pages_install.md.BhuB9zml.lean.js">
    <link rel="icon" type="image/svg+xml" href="images/logo.svg">
    <script id="check-dark-mode">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"auto",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
    <script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script>
  </head>
  <body>
    <div id="app"><div class="Layout" data-v-2cbe977d><!--[--><!--]--><!--[--><span tabindex="-1" data-v-b9fd8f96></span><a href="#VPContent" class="VPSkipLink visually-hidden" data-v-b9fd8f96>Skip to content</a><!--]--><!----><header class="VPNav" data-v-2cbe977d data-v-568a3999><div class="VPNavBar" data-v-568a3999 data-v-e862726a><div class="wrapper" data-v-e862726a><div class="container" data-v-e862726a><div class="title" data-v-e862726a><div class="VPNavBarTitle has-sidebar" data-v-e862726a data-v-2294ddfc><a class="title" href="/document/" data-v-2294ddfc><!--[--><!--]--><!--[--><img class="VPImage logo" src="images/logo.svg" alt data-v-0c0e3367><!--]--><span data-v-2294ddfc>组件文档</span><!--[--><!--]--></a></div></div><div class="content" data-v-e862726a><div class="content-body" data-v-e862726a><!--[--><!--]--><div class="VPNavBarSearch search" data-v-e862726a><!----></div><nav aria-labelledby="main-nav-aria-label" class="VPNavBarMenu menu" data-v-e862726a data-v-ef6f4cad><span id="main-nav-aria-label" class="visually-hidden" data-v-ef6f4cad> Main Navigation </span><!--[--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/document/" tabindex="0" data-v-ef6f4cad data-v-87545ffb><!--[--><span data-v-87545ffb>主页</span><!--]--></a><!--]--><!--[--><a class="VPLink link VPNavBarMenuLink active" href="/document/pages/install.html" tabindex="0" data-v-ef6f4cad data-v-87545ffb><!--[--><span data-v-87545ffb>指南</span><!--]--></a><!--]--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/document/pages/updateLog.html" tabindex="0" data-v-ef6f4cad data-v-87545ffb><!--[--><span data-v-87545ffb>更新日志</span><!--]--></a><!--]--><!--]--></nav><!----><div class="VPNavBarAppearance appearance" data-v-e862726a data-v-43557021><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title aria-checked="false" data-v-43557021 data-v-a51799bc data-v-e4feb773><span class="check" data-v-e4feb773><span class="icon" data-v-e4feb773><!--[--><span class="vpi-sun sun" data-v-a51799bc></span><span class="vpi-moon moon" data-v-a51799bc></span><!--]--></span></span></button></div><!----><div class="VPFlyout VPNavBarExtra extra" data-v-e862726a data-v-0ac1de1f data-v-8823d57b><button type="button" class="button" aria-haspopup="true" aria-expanded="false" aria-label="extra navigation" data-v-8823d57b><span class="vpi-more-horizontal icon" data-v-8823d57b></span></button><div class="menu" data-v-8823d57b><div class="VPMenu" data-v-8823d57b data-v-45d66e36><!----><!--[--><!--[--><!----><div class="group" data-v-0ac1de1f><div class="item appearance" data-v-0ac1de1f><p class="label" data-v-0ac1de1f>Appearance</p><div class="appearance-action" data-v-0ac1de1f><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title aria-checked="false" data-v-0ac1de1f data-v-a51799bc data-v-e4feb773><span class="check" data-v-e4feb773><span class="icon" data-v-e4feb773><!--[--><span class="vpi-sun sun" data-v-a51799bc></span><span class="vpi-moon moon" data-v-a51799bc></span><!--]--></span></span></button></div></div></div><!----><!--]--><!--]--></div></div></div><!--[--><!--]--><button type="button" class="VPNavBarHamburger hamburger" aria-label="mobile navigation" aria-expanded="false" aria-controls="VPNavScreen" data-v-e862726a data-v-5a620755><span class="container" data-v-5a620755><span class="top" data-v-5a620755></span><span class="middle" data-v-5a620755></span><span class="bottom" data-v-5a620755></span></span></button></div></div></div></div><div class="divider" data-v-e862726a><div class="divider-line" data-v-e862726a></div></div></div><!----></header><div class="VPLocalNav has-sidebar empty" data-v-2cbe977d data-v-2eabda0c><div class="container" data-v-2eabda0c><button class="menu" aria-expanded="false" aria-controls="VPSidebarNav" data-v-2eabda0c><span class="vpi-align-left menu-icon" data-v-2eabda0c></span><span class="menu-text" data-v-2eabda0c>Menu</span></button><div class="VPLocalNavOutlineDropdown" style="--vp-vh:0px;" data-v-2eabda0c data-v-d862eea0><button data-v-d862eea0>Return to top</button><!----></div></div></div><aside class="VPSidebar" data-v-2cbe977d data-v-1443e05c><div class="curtain" data-v-1443e05c></div><nav class="nav" id="VPSidebarNav" aria-labelledby="sidebar-aria-label" tabindex="-1" data-v-1443e05c><span class="visually-hidden" id="sidebar-aria-label" data-v-1443e05c> Sidebar Navigation </span><!--[--><!--]--><!--[--><div class="no-transition group" data-v-9ff94639><section class="VPSidebarItem level-0 has-active" data-v-9ff94639 data-v-ac3f4866><div class="item" role="button" tabindex="0" data-v-ac3f4866><div class="indicator" data-v-ac3f4866></div><h2 class="text" data-v-ac3f4866>开发指南</h2><!----></div><div class="items" data-v-ac3f4866><!--[--><div class="VPSidebarItem level-1 is-link" data-v-ac3f4866 data-v-ac3f4866><div class="item" data-v-ac3f4866><div class="indicator" data-v-ac3f4866></div><a class="VPLink link link" href="/document/pages/install.html" data-v-ac3f4866><!--[--><p class="text" data-v-ac3f4866>安装</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-ac3f4866 data-v-ac3f4866><div class="item" data-v-ac3f4866><div class="indicator" data-v-ac3f4866></div><a class="VPLink link link" href="/document/pages/quickstart.html" data-v-ac3f4866><!--[--><p class="text" data-v-ac3f4866>快速开始</p><!--]--></a><!----></div><!----></div><!--]--></div></section></div><div class="no-transition group" data-v-9ff94639><section class="VPSidebarItem level-0" data-v-9ff94639 data-v-ac3f4866><div class="item" role="button" tabindex="0" data-v-ac3f4866><div class="indicator" data-v-ac3f4866></div><h2 class="text" data-v-ac3f4866>业务组件</h2><!----></div><div class="items" data-v-ac3f4866><!--[--><div class="VPSidebarItem level-1 is-link" data-v-ac3f4866 data-v-ac3f4866><div class="item" data-v-ac3f4866><div class="indicator" data-v-ac3f4866></div><a class="VPLink link link" href="/document/pages/form.html" data-v-ac3f4866><!--[--><p class="text" data-v-ac3f4866>Form 表单</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-ac3f4866 data-v-ac3f4866><div class="item" data-v-ac3f4866><div class="indicator" data-v-ac3f4866></div><a class="VPLink link link" href="/document/pages/dialogForm.html" data-v-ac3f4866><!--[--><p class="text" data-v-ac3f4866>DialogForm 弹框表单</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-ac3f4866 data-v-ac3f4866><div class="item" data-v-ac3f4866><div class="indicator" data-v-ac3f4866></div><a class="VPLink link link" href="/document/pages/table.html" data-v-ac3f4866><!--[--><p class="text" data-v-ac3f4866>Table 表格</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-ac3f4866 data-v-ac3f4866><div class="item" data-v-ac3f4866><div class="indicator" data-v-ac3f4866></div><a class="VPLink link link" href="/document/pages/tableForm.html" data-v-ac3f4866><!--[--><p class="text" data-v-ac3f4866>TableForm 表格表单</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-ac3f4866 data-v-ac3f4866><div class="item" data-v-ac3f4866><div class="indicator" data-v-ac3f4866></div><a class="VPLink link link" href="/document/pages/upload.html" data-v-ac3f4866><!--[--><p class="text" data-v-ac3f4866>Upload 文件上传</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-ac3f4866 data-v-ac3f4866><div class="item" data-v-ac3f4866><div class="indicator" data-v-ac3f4866></div><a class="VPLink link link" href="/document/pages/permissionDirective.html" data-v-ac3f4866><!--[--><p class="text" data-v-ac3f4866>permission 权限指令</p><!--]--></a><!----></div><!----></div><!--]--></div></section></div><div class="no-transition group" data-v-9ff94639><section class="VPSidebarItem level-0" data-v-9ff94639 data-v-ac3f4866><div class="item" role="button" tabindex="0" data-v-ac3f4866><div class="indicator" data-v-ac3f4866></div><h2 class="text" data-v-ac3f4866>hooks</h2><!----></div><div class="items" data-v-ac3f4866><!--[--><div class="VPSidebarItem level-1 is-link" data-v-ac3f4866 data-v-ac3f4866><div class="item" data-v-ac3f4866><div class="indicator" data-v-ac3f4866></div><a class="VPLink link link" href="/document/pages/message.html" data-v-ac3f4866><!--[--><p class="text" data-v-ac3f4866>Message 消息提示</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-ac3f4866 data-v-ac3f4866><div class="item" data-v-ac3f4866><div class="indicator" data-v-ac3f4866></div><a class="VPLink link link" href="/document/pages/mergeTableRows.html" data-v-ac3f4866><!--[--><p class="text" data-v-ac3f4866>MergeTableRows 表格自动行合并</p><!--]--></a><!----></div><!----></div><!--]--></div></section></div><!--]--><!--[--><!--]--></nav></aside><div class="VPContent has-sidebar" id="VPContent" data-v-2cbe977d data-v-03c1fe5f><div class="VPDoc has-sidebar has-aside" data-v-03c1fe5f data-v-099b9a6e><!--[--><!--]--><div class="container" data-v-099b9a6e><div class="aside" data-v-099b9a6e><div class="aside-curtain" data-v-099b9a6e></div><div class="aside-container" data-v-099b9a6e><div class="aside-content" data-v-099b9a6e><div class="VPDocAside" data-v-099b9a6e data-v-e16ec722><!--[--><!--]--><!--[--><!--]--><nav aria-labelledby="doc-outline-aria-label" class="VPDocAsideOutline" data-v-e16ec722 data-v-aba0cb71><div class="content" data-v-aba0cb71><div class="outline-marker" data-v-aba0cb71></div><div aria-level="2" class="outline-title" id="doc-outline-aria-label" role="heading" data-v-aba0cb71>On this page</div><ul class="VPDocOutlineItem root" data-v-aba0cb71 data-v-f79fd0cd><!--[--><!--]--></ul></div></nav><!--[--><!--]--><div class="spacer" data-v-e16ec722></div><!--[--><!--]--><!----><!--[--><!--]--><!--[--><!--]--></div></div></div></div><div class="content" data-v-099b9a6e><div class="content-container" data-v-099b9a6e><!--[--><!--]--><main class="main" data-v-099b9a6e><div style="position:relative;" class="vp-doc _document_pages_install" data-v-099b9a6e><div><h1 id="安装" tabindex="-1">安装 <a class="header-anchor" href="#安装" aria-label="Permalink to &quot;安装&quot;">​</a></h1><h2 id="环境支持" tabindex="-1">环境支持 <a class="header-anchor" href="#环境支持" aria-label="Permalink to &quot;环境支持&quot;">​</a></h2><p>@fe-hl/admin-design-vue 可以在支持 <a href="https://caniuse.com/?feats=mdn-javascript_builtins_regexp_dotall,mdn-javascript_builtins_regexp_lookbehind_assertion,mdn-javascript_builtins_regexp_named_capture_groups,mdn-javascript_builtins_regexp_property_escapes,mdn-javascript_builtins_symbol_asynciterator,mdn-javascript_functions_method_definitions_async_generator_methods,mdn-javascript_grammar_template_literals_template_literal_revision,mdn-javascript_operators_destructuring_rest_in_objects,mdn-javascript_operators_spread_spread_in_destructuring,promise-finally" target="_blank" rel="noreferrer">ES2018</a> and <a href="https://caniuse.com/resizeobserver" target="_blank" rel="noreferrer">ResizeObserver</a>. 的浏览器上运行。 如果您确实需要支持旧版本的浏览器，请自行添加 <a href="https://babeljs.io/" target="_blank" rel="noreferrer">Babel</a> 和相应的 Polyfill .</p><p>由于 Vue 3 不再支持 IE11，@fe-hl/admin-design-vue 也不再支持 IE 浏览器。.</p><table tabindex="0"><thead><tr><th><img src="https://cdn.jsdelivr.net/npm/@browser-logos/edge/edge_32x32.png" alt="IE"></th><th><img src="https://cdn.jsdelivr.net/npm/@browser-logos/firefox/firefox_32x32.png" alt="Firefox"></th><th><img src="https://cdn.jsdelivr.net/npm/@browser-logos/chrome/chrome_32x32.png" alt="Chrome"></th><th><img src="https://cdn.jsdelivr.net/npm/@browser-logos/safari/safari_32x32.png" alt="Safari"></th></tr></thead><tbody><tr><td>Edge ≥ 79</td><td>Firefox ≥ 78</td><td>Chrome ≥ 64</td><td>Safari ≥ 12</td></tr></tbody></table><h3 id="version" tabindex="-1">Version <a class="header-anchor" href="#version" aria-label="Permalink to &quot;Version&quot;">​</a></h3><p>@fe-hl/admin-design-vue 目前还处于快速开发迭代中。</p><h2 id="使用包管理器" tabindex="-1">使用包管理器 <a class="header-anchor" href="#使用包管理器" aria-label="Permalink to &quot;使用包管理器&quot;">​</a></h2><p>我们建议您使用包管理器 (NPM, <a href="https://classic.yarnpkg.com/lang/en/" target="_blank" rel="noreferrer">Yarn</a>, <a href="https://pnpm.io/" target="_blank" rel="noreferrer">pnpm</a>) 安装 Element Plus, 然后您就可以使用打包工具，例如 <a href="https://vitejs.dev" target="_blank" rel="noreferrer">Vite</a> and <a href="https://webpack.js.org/" target="_blank" rel="noreferrer">webpack</a>.</p><div class="language-shell vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">shell</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># Choose a package manager you like.</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># NPM</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">$</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> npm</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> install</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> @fe-hl/admin-design-vue</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --save</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># Yarn</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">$</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> yarn</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> add</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> @fe-hl/admin-design-vue</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># pnpm</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">$</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> pnpm</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> install</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> @fe-hl/admin-design-vue</span></span></code></pre></div><p>如果您的网络环境不好，建议使用相关镜像服务 <a href="https://github.com/cnpm/cnpm" target="_blank" rel="noreferrer">cnpm</a> 或 <a href="https://registry.npmmirror.com/" target="_blank" rel="noreferrer">Alibaba</a>.</p></div></div></main><footer class="VPDocFooter" data-v-099b9a6e data-v-f6ca0369><!--[--><!--]--><div class="edit-info" data-v-f6ca0369><div class="edit-link" data-v-f6ca0369><a class="VPLink link vp-external-link-icon no-icon edit-link-button" href="https://gitee.com/fe-hl/admin-design-vue" target="_blank" rel="noreferrer" data-v-f6ca0369><!--[--><span class="vpi-square-pen edit-link-icon" data-v-f6ca0369></span> 在GitHub上编辑此页<!--]--></a></div><div class="last-updated" data-v-f6ca0369><p class="VPLastUpdated" data-v-f6ca0369 data-v-ae5a8333>上次更新: <time datetime="2022-09-23T08:32:27.000Z" data-v-ae5a8333></time></p></div></div><nav class="prev-next" aria-labelledby="doc-footer-aria-label" data-v-f6ca0369><span class="visually-hidden" id="doc-footer-aria-label" data-v-f6ca0369>Pager</span><div class="pager" data-v-f6ca0369><!----></div><div class="pager" data-v-f6ca0369><a class="VPLink link pager-link next" href="/document/pages/quickstart.html" data-v-f6ca0369><!--[--><span class="desc" data-v-f6ca0369>Next page</span><span class="title" data-v-f6ca0369>快速开始</span><!--]--></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><!----><!--[--><!--]--></div></div>
    <script>window.__VP_HASH_MAP__=JSON.parse("{\"index.md\":\"CY4oVtBy\",\"pages_dialogform.md\":\"w4f4tNlA\",\"pages_form.md\":\"0Ck23iHg\",\"pages_install.md\":\"BhuB9zml\",\"pages_mergetablerows.md\":\"CwQlJpzI\",\"pages_message.md\":\"DiSZUsXQ\",\"pages_permissiondirective.md\":\"DiYxkUyX\",\"pages_quickstart.md\":\"Bo7916BE\",\"pages_table.md\":\"BZm5nQH0\",\"pages_tableform.md\":\"tVspQFcP\",\"pages_updatelog.md\":\"Ct6g9Ki9\",\"pages_upload.md\":\"I5kBJXEF\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"组件文档\",\"description\":\"组件文档\",\"base\":\"/document/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"lastUpdatedText\":\"上次更新\",\"editLink\":{\"pattern\":\"https://gitee.com/fe-hl/admin-design-vue\",\"text\":\"在GitHub上编辑此页\"},\"logo\":\"images/logo.svg\",\"nav\":[{\"text\":\"主页\",\"link\":\"/\"},{\"text\":\"指南\",\"link\":\"/pages/install\"},{\"text\":\"更新日志\",\"link\":\"/pages/updateLog\"}],\"sidebar\":[{\"text\":\"开发指南\",\"collapsible\":true,\"items\":[{\"text\":\"安装\",\"link\":\"/pages/install\"},{\"text\":\"快速开始\",\"link\":\"/pages/quickstart\"}]},{\"text\":\"业务组件\",\"collapsible\":true,\"items\":[{\"text\":\"Form 表单\",\"link\":\"/pages/form\"},{\"text\":\"DialogForm 弹框表单\",\"link\":\"/pages/dialogForm\"},{\"text\":\"Table 表格\",\"link\":\"/pages/table\"},{\"text\":\"TableForm 表格表单\",\"link\":\"/pages/tableForm\"},{\"text\":\"Upload 文件上传\",\"link\":\"/pages/upload\"},{\"text\":\"permission 权限指令\",\"link\":\"/pages/permissionDirective\"}]},{\"text\":\"hooks\",\"collapsible\":true,\"items\":[{\"text\":\"Message 消息提示\",\"link\":\"/pages/message\"},{\"text\":\"MergeTableRows 表格自动行合并\",\"link\":\"/pages/mergeTableRows\"}]}]},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":false}");</script>
    
  </body>
</html>